package com.refactordemo.entity;

/*
* 影片类
* */

public class Movie {
    public static final int CHILDRENS=2;//小孩
    public static final int REGULAR=0;//常客
    public static final int NEW_RELEASE=1;//新人？？

    private String _title;//影片名
    private int _priceCode;//价格

    //构造方法
    public Movie(String _title, int _priceCode) {
        this._title = _title;
        this._priceCode = _priceCode;
    }

    public int getPriceCode(){
        return _priceCode;
    }

    public void setPriceCode(int arg){
        _priceCode=arg;
    }

    public String getTitle(){
        return _title;
    }

}
